Answer:

  1. Turn off alarm.
  2. Get out of bed.
  3. Shower.
  4. Put on clothes.
  5. Eat breakfast.
  6. Go to work.

Of course, there are other sensible arrangements. You might want to get out of bed before turning off the alarm.

Task Description

Here is the list of tasks for the "miles per gallon problem:"

First Task:  LET MILES = 200

Second Task: LET GALLONS = 10

Third Task:  PRINT MILES / GALLONS, "Miles per Gallon"

This does not really tell you much more than the original program did. It is more useful to describe the tasks that are to be performed, rather than list the exact QBasic statements that are going to be used.

Here is a list with description of the tasks that must be accomplished:

First Task:  Get the number of Miles

Second Task: Get the number of Gallons

Third Task:  Calculate and print miles per gallon

QUESTION 6:

Look at the list of tasks. Could another QBasic program (different from the first program) match this list?